package com.billing.service;

import java.util.List;

import com.billing.model.entity.TScheduling;

public interface SchedulingService {

	/**
	 * 根据班次id获取排班信息
	 * @param id
	 * @return
	 */
	public TScheduling getTScheduling(int id);
	
	/**
	 * 创建排班信息
	 * @param che
	 * @return
	 */
	public int insertTScheduling(TScheduling che);
	/**
	 * 
	 * @param orgid
	 * @return
	 */
	public List<TScheduling> geTSchedulingsByOrganizationid(int orgid);
	
	/**
	 * 获取排班列表信息
	 * @param currentPage
	 * @param pageSize
	 * @return
	 */
	public List<TScheduling> selectTSchedulingList(int organizationid,int currentPage,int pageSize);
	
	/**
	 * 获取排班列表条数信息
	 * @return
	 */
	public int selectTSchedulingNum(int organizationid);
	/**
	 * 根据排班id获取排班信息
	 * @param id
	 * @return
	 */
	public TScheduling selectTSchedulingByid(int id);
	/**
	 * 根据id删除排班信息
	 * @param id
	 * @return
	 */
	public int deleteTScheduling(int id);
	
}
